package com.toy.mapper.goods;

import com.toy.entity.goods.GoodsDTO;
import com.toy.entity.order.OrderDTO;
import com.toy.query.goods.GoodsQuery;
import com.toy.query.order.OrderQuery;
import com.toy.utils.BaseDaoException;

import java.util.List;

public interface GoodsMapper {
    public Boolean insertGoods(GoodsDTO goodsDTO) throws BaseDaoException;
    public Boolean updateGoods(GoodsDTO goodsDTO)throws BaseDaoException;
    public List<GoodsDTO> queryGoods(GoodsQuery goodsQuery)throws BaseDaoException;

}
